package com.ctsi.ntedu.domain;

import java.io.Serializable;
import java.time.ZonedDateTime;

/**
 * @author ctsi-biyi-generator
*/
public class Overview implements Serializable {

    private String date;


    private Integer telNumTotal;


    private Integer telNumTrueTotal;


    private Integer telNumFalseTotal;


    private Integer messageTotal;


    private Integer telOutTotal;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getTelNumTotal() {
        return telNumTotal;
    }

    public void setTelNumTotal(Integer telNumTotal) {
        this.telNumTotal = telNumTotal;
    }

    public Integer getTelNumTrueTotal() {
        return telNumTrueTotal;
    }

    public void setTelNumTrueTotal(Integer telNumTrueTotal) {
        this.telNumTrueTotal = telNumTrueTotal;
    }

    public Integer getTelNumFalseTotal() {
        return telNumFalseTotal;
    }

    public void setTelNumFalseTotal(Integer telNumFalseTotal) {
        this.telNumFalseTotal = telNumFalseTotal;
    }

    public Integer getMessageTotal() {
        return messageTotal;
    }

    public void setMessageTotal(Integer messageTotal) {
        this.messageTotal = messageTotal;
    }

    public Integer getTelOutTotal() {
        return telOutTotal;
    }

    public void setTelOutTotal(Integer telOutTotal) {
        this.telOutTotal = telOutTotal;
    }



    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Overview other = (Overview) that;
        return (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getTelNumTotal() == null ? other.getTelNumTotal() == null : this.getTelNumTotal().equals(other.getTelNumTotal()))
            && (this.getTelNumTrueTotal() == null ? other.getTelNumTrueTotal() == null : this.getTelNumTrueTotal().equals(other.getTelNumTrueTotal()))
            && (this.getTelNumFalseTotal() == null ? other.getTelNumFalseTotal() == null : this.getTelNumFalseTotal().equals(other.getTelNumFalseTotal()))
            && (this.getMessageTotal() == null ? other.getMessageTotal() == null : this.getMessageTotal().equals(other.getMessageTotal()))
            && (this.getTelOutTotal() == null ? other.getTelOutTotal() == null : this.getTelOutTotal().equals(other.getTelOutTotal()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ntedu_record
     *
     * @mbg.generated Fri Aug 06 15:41:13 CST 2021
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getTelNumTotal() == null) ? 0 : getTelNumTotal().hashCode());
        result = prime * result + ((getTelNumTrueTotal() == null) ? 0 : getTelNumTrueTotal().hashCode());
        result = prime * result + ((getTelNumFalseTotal() == null) ? 0 : getTelNumFalseTotal().hashCode());
        result = prime * result + ((getMessageTotal() == null) ? 0 : getMessageTotal().hashCode());
        result = prime * result + ((getTelOutTotal() == null) ? 0 : getTelOutTotal().hashCode());
        return result;
    }
}